package com.nbcio.modules.crm.contact.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * CRM联系人实体
 */
@Data
@TableName("crm_contact")
public class CrmContact {
    @TableId
    private Long contactId;
    private Long customerId;
    private String contactName;
    private Integer gender; // 1男 2女
    private String position;
    private String department;
    private String phone;
    private String tel;
    private String email;
    private String wechat;
    private String qq;
    private String address;
    private LocalDate birthday;
    private String roleType; // DECISION_MAKER/PURCHASER/USER
    private Integer isPrimary; // 1是主要联系人 0否
    private Integer status; // 1启用 0停用
    private String remark;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;
    private Long createDept;
    private String tenantId;
}

